<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>
<meta content="platform:<?php echo ENVIRONMENT;?>"/> 
<link type="text/css" href="/css/style.css" rel="stylesheet" />
<link type="text/css" href="/css/jquery-theme/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-i18n.min.js"></script>
<script type="text/javascript" src="/js/jmaskedinput122.js"></script>
<script>
  $(document).ready(function() {
    $("button").button();
  });
</script>
</head>
<?php $switch_language_to = ($this->lang->lang()=='tr')?'en':'tr'; ?>
<body>
<div id="container">

	<div id="header">
    	<div id="logoHolder">
        	<img src="/images/tmpl/maviLogo.png">
        </div>
        
        <div id="primaryMenu">
			<a href="<?php echo site_url('/');?>"> <?php echo $this->lang->line('template_home'); ?> </a> :: 
      		<a href="<?php echo site_url('services/searchpnr');?>"> <?php echo $this->lang->line('template_my_reservation'); ?> </a> :: 
      		<a href="<?php echo site_url('services/searchpnr');?>"> <?php echo $this->lang->line('template_payfly'); ?> </a> ::
            <a href="<?php echo site_url('services/searchticket');?>"> <?php echo $this->lang->line('template_my_ticket'); ?></a>
		</div>
        <div id="secondaryMenu">
        	<a href="<?php echo site_url('content/terms#privacy');?>"><?php echo $this->lang->line('template_privacy'); ?> </a> :: 
		    <a href="<?php echo site_url('content/terms#cancel');?>"> <?php echo $this->lang->line('template_refund_cancel_procedure'); ?></a>::
            <a href="<?php echo site_url($this->lang->switch_uri($switch_language_to));?>"><img src="<?php echo '/images/tmpl/'.$switch_language_to.'.jpg'; ?>"></a>
		</div>
	</div>
    
    <div id="main">
    	<div id="left">
    		<div><?php echo $left_side_bar_top; ?></div>
    		<div id="left-bottom">
				<?php echo $left_side_bar_bottom; ?>
			</div>
    	</div>
    
    	<div id="content">
			<?php echo $content; ?>
		</div>
		<div style="clear:both;">
		</div>
		
    </div>
</div>
<?php if (ENVIRONMENT != 'development') { ?>
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', '<?php echo $this->config->item('google_analytics'); ?>']);
	  _gaq.push(['_trackPageview']);
	
	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	
	</script>
<?php } ?>
</body>
</html>